<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Reference case for overline placement in vertical</title>
    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
    <style>
        #main {
            margin: 30px;
        }
        #main div {
            writing-mode: vertical-lr;
            text-decoration: green overline;
            text-decoration-thickness: 5px;
            text-decoration-skip-ink: none;
            font: 20px/1 Ahem;
        }
    </style>
</head>
<body>
    <p class="instructions">Test passes if the green overline is not shifted away from black box.</p>
    <div id="main">
        <div>XXXX</div>
    </div>
</body>
</html>
